All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.event.TableColumnModelEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.sun.java.swing.event.TableColumnModelEvent
- public class TableColumnModelEvent
- extends EventObject
TableColumnModelEvent is used to notify listeners that a table
column model has changed, such as a column was added, removed, or
moved.
Warning: serialized objects of this class will not be compatible with
future swing releases. The current serialization support is appropriate
for short term storage or RMI between Swing1.0 applications. It will
not be possible to load serialized Swing1.0 objects with future releases
of Swing. The JDK1.2 release of Swing will be the compatibility
baseline for the serialized form of Swing objects.
- See Also:
- TableColumnModelListener
-
fromIndex
- The index of the column from where it was moved or removed
-
toIndex
- The index of the column to where it was moved or added from
-
TableColumnModelEvent(TableColumnModel, int, int)
-
-
getFromIndex()
- Returns the fromIndex.
-
getToIndex()
- Returns the toIndex.
fromIndex
protected int fromIndex
- The index of the column from where it was moved or removed
toIndex
protected int toIndex
- The index of the column to where it was moved or added from
TableColumnModelEvent
public TableColumnModelEvent(TableColumnModel source,
int from,
int to)
getFromIndex
public int getFromIndex()
- Returns the fromIndex. Valid for removed or moved events
getToIndex
public int getToIndex()
- Returns the toIndex. Valid for add and moved events
All Packages Class Hierarchy This Package Previous Next Index